﻿using System;
using System.Collections.Generic;
using System.Web;
using Rabbit.Logic;
using RabbitManage.Code;

namespace RabbitManage.UI
{
    public partial class DiliveryStrategyList : System.Web.UI.Page
    {
        protected List<DiliveryStrategy> list;
        protected void Page_Load(object sender, EventArgs e)
        {
            HttpCookie cookie = Request.Cookies[Constant.CookieName];
            string shopId = cookie.Values[Constant.CookieUid];
            list = RabbitUse.GetDiliveryStrategyList(Db.Store, shopId);
            productRepeater.DataSource = list;
            productRepeater.DataBind();

            string.Join(",", list[0].ProvinceList);
            string.Concat(list[0].ProvinceList);
        }
    }
}